package com.zhentao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhentao.domain.TUser;
import com.zhentao.result.Result;
import com.zhentao.service.TUserService;
import com.zhentao.mapper.TUserMapper;
import net.bytebuddy.asm.Advice;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
* @author 86150
* @description 针对表【t_user】的数据库操作Service实现
* @createDate 2024-07-24 17:11:47
*/
@Service
public class TUserServiceImpl extends ServiceImpl<TUserMapper, TUser>
    implements TUserService{

    @Resource
    private TUserMapper tUserMapper;

    @Override
    public Result getAdminAndTeacherInfo() {
        List<TUser> list=tUserMapper.getAdminAndTeacherInfo();
        return Result.OK(list);
    }
}




